package org.pub.lunch.google.map.view;

import com.google.android.maps.GeoPoint;

public class MyLocation
{
	private GeoPoint location = null;
	private String name = null;
	
	public MyLocation(double latitude, double longitude, String name) 
	{
		location = 
			new GeoPoint((int)(latitude*1000000.0), 
						(int)(longitude*1000000.0));
		this.name = name;	
	}
	
	public GeoPoint getLocation()
	{
		return location;
	}
	
	public String getName()
	{
		return name;
	}	
}
